 Create table "LabParameterObservedValue"("LabParameterObservedValueId" bigserial primary key,
										"NewLabBookingDetailId" int references "NewLabBookingDetail"("NewLabBookingDetailId"),
										"LabTemplateHeaderId" int references "LabTemplateHeader"("LabTemplateHeaderId"),
										"LabComponentHeaderId" int references "LabComponentHeader"("LabComponentHeaderId"),
										"LabParameterHeaderId" int references "LabParameterHeader"("LabParameterHeaderId"),
										"ObservedValue" text, 
										"LabParameterDetailId" int references "LabParameterDetail"("LabParameterDetailId"));

Alter table "LabParameterObservedValue" 
	add column "CreatedBy" int references "Account"("AccountId"),
	add column "CreatedDate" timestamp without time zone,
	add column "Active" boolean default true;
----------------

insert into "LabBookingStatus" ("Status","Active") values ('ParameterAdded',true);

------------------